[INFO] cloning repository https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP3_Rust_Majeure_Info_2526", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP3_Rust_Majeure_Info_2526'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a770a63ad87059330076d3cbda49cdf4cd26fd89
[INFO] fixing osmane-amine/TP3_Rust_Majeure_Info_2526 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP3_Rust_Majeure_Info_2526" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526
[INFO] finished tweaking git repo https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526
[INFO] tweaked toml for git repo https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/osmane-amine/TP3_Rust_Majeure_Info_2526 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded panic-probe v1.0.0
[INFO] [stderr]   Downloaded defmt-macros v1.0.1
[INFO] [stderr]   Downloaded defmt v1.0.1
[INFO] [stderr]   Downloaded embassy-time-driver v0.2.2
[INFO] [stderr]   Downloaded heapless v0.9.2
[INFO] [stderr]   Downloaded embassy-time v0.5.1
[INFO] [stderr]   Downloaded trait-set v0.3.0
[INFO] [stderr]   Downloaded embassy-sync v0.8.0
[INFO] [stderr]   Downloaded embedded-io-async v0.7.0
[INFO] [stderr]   Downloaded defmt v0.3.100
[INFO] [stderr]   Downloaded stm32-fmc v0.4.0
[INFO] [stderr]   Downloaded embedded-can v0.4.1
[INFO] [stderr]   Downloaded sdio-host v0.9.0
[INFO] [stderr]   Downloaded embassy-usb-driver v0.2.0
[INFO] [stderr]   Downloaded embedded-io-async v0.6.1
[INFO] [stderr]   Downloaded embassy-futures v0.1.2
[INFO] [stderr]   Downloaded block-device-driver v0.2.0
[INFO] [stderr]   Downloaded defmt-rtt v1.1.0
[INFO] [stderr]   Downloaded embedded-storage-async v0.4.1
[INFO] [stderr]   Downloaded embassy-executor-timer-queue v0.1.0
[INFO] [stderr]   Downloaded embedded-hal-nb v1.0.0
[INFO] [stderr]   Downloaded embassy-time-queue-utils v0.3.0
[INFO] [stderr]   Downloaded embassy-net-driver v0.2.0
[INFO] [stderr]   Downloaded embassy-embedded-hal v0.6.0
[INFO] [stderr]   Downloaded embassy-executor-macros v0.8.0
[INFO] [stderr]   Downloaded embassy-usb-synopsys-otg v0.3.2
[INFO] [stderr]   Downloaded embassy-hal-internal v0.5.0
[INFO] [stderr]   Downloaded embassy-hal-internal v0.4.0
[INFO] [stderr]   Downloaded embassy-executor v0.10.0
[INFO] [stderr]   Downloaded generator v0.8.8
[INFO] [stderr]   Downloaded embassy-stm32 v0.6.0
[INFO] [stderr]   Downloaded stm32-metapac v21.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93
[INFO] running `Command { std: "docker" "start" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling defmt v1.0.1
[INFO] [stderr]    Compiling defmt-macros v1.0.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling cortex-m-rt v0.7.5
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking volatile-register v0.2.2
[INFO] [stderr]    Compiling heapless v0.9.2
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling stm32-metapac v21.0.0
[INFO] [stderr]    Compiling embedded-io-async v0.6.1
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling embassy-sync v0.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]    Compiling embassy-time-queue-utils v0.3.0
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling embassy-hal-internal v0.4.0
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]     Checking embassy-executor-timer-queue v0.1.0
[INFO] [stderr]    Compiling embassy-hal-internal v0.5.0
[INFO] [stderr]     Checking embedded-storage v0.3.1
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]     Checking embedded-storage-async v0.4.1
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling embassy-executor v0.10.0
[INFO] [stderr]    Compiling defmt-rtt v1.1.0
[INFO] [stderr]    Compiling panic-probe v1.0.0
[INFO] [stderr]     Checking embassy-futures v0.1.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking block-device-driver v0.2.0
[INFO] [stderr]     Checking stm32-fmc v0.4.0
[INFO] [stderr]     Checking embedded-hal-nb v1.0.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking embedded-can v0.4.1
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking sdio-host v0.9.0
[INFO] [stderr]     Checking cordyceps v0.3.4
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling trait-set v0.3.0
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.5
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling embassy-executor-macros v0.8.0
[INFO] [stderr]    Compiling defmt v0.3.100
[INFO] [stderr]     Checking embedded-io v0.7.1
[INFO] [stderr]     Checking embassy-time v0.5.1
[INFO] [stderr]     Checking embassy-usb-driver v0.2.0
[INFO] [stderr]     Checking embassy-net-driver v0.2.0
[INFO] [stderr]     Checking embedded-io-async v0.7.0
[INFO] [stderr]    Compiling embassy-stm32 v0.6.0
[INFO] [stderr]     Checking embassy-usb-synopsys-otg v0.3.2
[INFO] [stderr]     Checking embassy-embedded-hal v0.6.0
[INFO] [stderr]     Checking TP3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `AnyPin`
[INFO] [stdout]  --> src/bsp_ensea.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use embassy_stm32::gpio::{AnyPin, Input, Level, Output, Pull, Speed};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peri`
[INFO] [stdout]  --> src/bsp_ensea.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use embassy_stm32::{Config, Peri};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Bargraph_Pins` should have an upper camel case name
[INFO] [stdout]  --> src/bsp_ensea.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Bargraph_Pins{
[INFO] [stdout]   |            ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BargraphPins`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Gamepad_Pins` should have an upper camel case name
[INFO] [stdout]   --> src/bsp_ensea.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Gamepad_Pins{
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GamepadPins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AnyPin`
[INFO] [stdout]  --> src/bsp_ensea.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use embassy_stm32::gpio::{AnyPin, Input, Level, Output, Pull, Speed};
[INFO] [stdout]   |                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peri`
[INFO] [stdout]  --> src/bsp_ensea.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use embassy_stm32::{Config, Peri};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Bargraph_Pins` should have an upper camel case name
[INFO] [stdout]  --> src/bsp_ensea.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Bargraph_Pins{
[INFO] [stdout]   |            ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BargraphPins`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Gamepad_Pins` should have an upper camel case name
[INFO] [stdout]   --> src/bsp_ensea.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Gamepad_Pins{
[INFO] [stdout]    |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GamepadPins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:62:37
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Button {name: "Top".from_str(), input:Some(Input::new(p.PC8, Pull::Down))},
[INFO] [stdout]    |                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:62:37
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Button {name: "Top".from_str(), input:Some(Input::new(p.PC8, Pull::Down))},
[INFO] [stdout]    |                                     ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 Button {name: "Bottom".from_str(), input:Some(Input::new(p.PB11, Pull::Down))},
[INFO] [stdout]    |                                        ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 Button {name: "Bottom".from_str(), input:Some(Input::new(p.PB11, Pull::Down))},
[INFO] [stdout]    |                                        ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 Button {name: "Right".from_str(), input:Some(Input::new(p.PC9, Pull::Down))},
[INFO] [stdout]    |                                       ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 Button {name: "Right".from_str(), input:Some(Input::new(p.PC9, Pull::Down))},
[INFO] [stdout]    |                                       ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 Button {name: "Left".from_str(), input:Some(Input::new(p.PC6, Pull::Down))},
[INFO] [stdout]    |                                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 Button {name: "Center".from_str(), input:Some(Input::new(p.PC5, Pull::Down))}
[INFO] [stdout]    |                                        ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:65:38
[INFO] [stdout]    |
[INFO] [stdout] 65 |                 Button {name: "Left".from_str(), input:Some(Input::new(p.PC6, Pull::Down))},
[INFO] [stdout]    |                                      ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `from_str` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/bsp_ensea.rs:66:40
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 Button {name: "Center".from_str(), input:Some(Input::new(p.PC5, Pull::Down))}
[INFO] [stdout]    |                                        ^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Top` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 Button::Top(pin) => top = pin.is_high(),
[INFO] [stdout]    |                         ^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Top` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Bottom` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 Button::Bottom(pin) => bottom = pin.is_high(),
[INFO] [stdout]    |                         ^^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Bottom` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Left` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 Button::Left(pin) => left = pin.is_high(),
[INFO] [stdout]    |                         ^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Left` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Top` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 Button::Top(pin) => top = pin.is_high(),
[INFO] [stdout]    |                         ^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Top` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Right` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 Button::Right(pin) => right = pin.is_high(),
[INFO] [stdout]    |                         ^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Right` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Center` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 Button::Center(pin) => center= pin.is_high(),
[INFO] [stdout]    |                         ^^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Center` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Bottom` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 Button::Bottom(pin) => bottom = pin.is_high(),
[INFO] [stdout]    |                         ^^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Bottom` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Left` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 Button::Left(pin) => left = pin.is_high(),
[INFO] [stdout]    |                         ^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Left` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Right` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 Button::Right(pin) => right = pin.is_high(),
[INFO] [stdout]    |                         ^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Right` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Center` found for struct `Button` in the current scope
[INFO] [stdout]   --> src/gamepad.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 Button::Center(pin) => center= pin.is_high(),
[INFO] [stdout]    |                         ^^^^^^ associated function or constant not found in `Button`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ----------------- associated function or constant `Center` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `defmt::Formatter<'_>`
[INFO] [stdout]   --> src/gamepad.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   write!(fmt, "Top button pressed:{:?}\nBottom button pressed:{:?}\nRight button pressed:{:?}\nLeft button pressed:{:?}\nCenter button pressed:{:?}",self.top,self.bottom,self.right,self.left,self.center);
[INFO] [stdout]    |       -------^^^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- method not found in `defmt::Formatter<'_>`
[INFO] [stdout]    |
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/gamepad.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   write!(fmt, "Top button pressed:{:?}\nBottom button pressed:{:?}\nRight button pressed:{:?}\nLeft button pressed:{:?}\nCenter ...
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `defmt::Formatter<'_>`
[INFO] [stdout]   --> src/gamepad.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   write!(fmt, "Top button pressed:{:?}\nBottom button pressed:{:?}\nRight button pressed:{:?}\nLeft button pressed:{:?}\nCenter button pressed:{:?}",self.top,self.bottom,self.right,self.left,self.center);
[INFO] [stdout]    |       -------^^^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- method not found in `defmt::Formatter<'_>`
[INFO] [stdout]    |
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/gamepad.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   write!(fmt, "Top button pressed:{:?}\nBottom button pressed:{:?}\nRight button pressed:{:?}\nLeft button pressed:{:?}\nCenter ...
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.pins.pins` which is behind a shared reference
[INFO] [stdout]   --> src/gamepad.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `self.pins.pins` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                      move occurs because `self.pins.pins` has type `VecInner<Button, usize, vec::storage::VecStorageInner<[MaybeUninit<Button>; 10]>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.pins.pins`
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/iter/traits/collect.rs:312:17
[INFO] [stdout] note: if `Button` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/gamepad.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |                      -------------- you could clone this value
[INFO] [stdout] help: consider iterating over a slice of the `VecInner<Button, usize, vec::storage::VecStorageInner<[MaybeUninit<Button>; 10]>>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in &self.pins.pins{
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/gamepad.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn is_pressed(&self, button: Button) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/gamepad.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.pins.pins` which is behind a shared reference
[INFO] [stdout]   --> src/gamepad.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      `self.pins.pins` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                      move occurs because `self.pins.pins` has type `VecInner<Button, usize, vec::storage::VecStorageInner<[MaybeUninit<Button>; 10]>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.pins.pins`
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/iter/traits/collect.rs:312:17
[INFO] [stdout] note: if `Button` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/bsp_ensea.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Button{
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/gamepad.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |                      -------------- you could clone this value
[INFO] [stdout] help: consider iterating over a slice of the `VecInner<Button, usize, vec::storage::VecStorageInner<[MaybeUninit<Button>; 10]>>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in &self.pins.pins{
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/gamepad.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn is_pressed(&self, button: Button) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/gamepad.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         for input in self.pins.pins{
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `TP3` (lib test) due to 12 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `TP3` (lib) due to 12 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93", kill_on_drop: false }`
[INFO] [stdout] 2a678e98538eb77804cd84a4d1c8ee84a7db692c6b6c2cbb98e366715f750a93
